html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body{
  background: #f3f3f3;
}
.main{
  width: 100%;
  display: flex;
}
.painting-wrap{
  width: 100%;
  display: flex;
}
.chart-wrap{
  position: relative;
  width: 400px;
  height: 300px;
  /* padding: 30px; */
  border-radius: 3px;
  margin: 30px;
  display: flex;
  background: #f9f9f9;
  box-shadow: 0 0 5px 2px rgba(0,0,0,0.1);
  transition: all 1s;
  overflow: hidden;
}
.tip{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  font-size: 14px;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.4);
  /* transform:translateY(-100%);
  transition: all .3s; */
}
.chart-wrap:hover{
  box-shadow: 0 0 15px 2px rgba(0,0,0,0.2);
}
/* .chart-wrap:hover .tip{
  transform:translateY(0) 
} */

.bar-item{
  display: inline-flex;
  width: 30px;
  margin: 0 10px;
  color: #fff;
  font-size: 12px;
  background: -webkit-linear-gradient(bottom,#00CCFF,#0033FF);
  align-items: flex-start;
  justify-content: center;
}
.scatter{
  cursor: pointer;
  fill:rgb(251, 118, 123);
  transition: all .3s;
}
.scatter:hover{
  fill:red
}